package com.we.flink.userlabelplatform.table;

public class TableUserAccount {
    public static final String KFKTABLE = "fdm.hhl01_user_account";
    //    public static final String KFKTABLE = "fdm.hhl01_user_account_risk";
    public static final String QUERYSQL =
            "select uid, "
                    + "account as register_mobile, "
                    + "system_unique_id as user_key, "
                    + "if(deleted_at is not null, 1, 0) as is_logoffed, "
                    + "created_at, "
                    + "updated_at from "
                    + KFKTABLE;

    public long uid;
    public int created_at;
    public int updated_at;
    public int is_logoffed;
    public String user_key;
    public String register_mobile;

    public TableUserAccount() {}

    public TableUserAccount(
            long uid,
            int created_at,
            int updated_at,
            int is_logoffed,
            String user_key,
            String register_mobile) {
        this.uid = uid;
        this.created_at = created_at;
        this.updated_at = updated_at;
        this.is_logoffed = is_logoffed;
        this.user_key = user_key;
        this.register_mobile = register_mobile;
    }

    public int getIs_logoffed() {
        return is_logoffed;
    }

    public long getUid() {
        return uid;
    }

    public int getCreated_at() {
        return created_at;
    }

    public int getUpdated_at() {
        return updated_at;
    }

    public String getUser_key() {
        return user_key;
    }

    public String getRegister_mobile() {
        return register_mobile;
    }
}
